package com.ruoyi.zhgd.service;

import com.ruoyi.zhgd.domain.vo.NLaboratorySofteningPointVo;
import com.ruoyi.zhgd.domain.bo.NLaboratorySofteningPointBo;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 软化点试验Service接口
 *
 * @author zyb
 * @date 2023-09-11
 */
public interface INLaboratorySofteningPointService {

    /**
     * 查询软化点试验
     */
    NLaboratorySofteningPointVo queryById(String id);

    /**
     * 查询软化点试验列表
     */
    TableDataInfo<NLaboratorySofteningPointVo> queryPageList(NLaboratorySofteningPointBo bo, PageQuery pageQuery);

    /**
     * 查询软化点试验列表
     */
    List<NLaboratorySofteningPointVo> queryList(NLaboratorySofteningPointBo bo);

    /**
     * 新增软化点试验
     */
    Boolean insertByBo(NLaboratorySofteningPointBo bo);

    /**
     * 修改软化点试验
     */
    Boolean updateByBo(NLaboratorySofteningPointBo bo);

    /**
     * 校验并批量删除软化点试验信息
     */
    Boolean deleteWithValidByIds(Collection<String> ids, Boolean isValid);
}
